{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block title %}万屏时代OPC--城市浇水系数{% endblock %}

{% block panel_heading %}
  万屏时代OPC--城市浇水系数
{% endblock %}

{% block panel_body %}
  <table id="area-list-table" class="table table-bordered table-hover table-condensed table-striped">
    <thead>
      <tr>
        <th>城市</th>
        <th>浇水系数</th>
        <th>操作</th>
      </tr>
    </thead>
    <tbody>
      {% for area in areas %}
        <tr>
          <td>{{ area.name }}</td>
          <td>{{ area.water_factor }}</td>
          <td>
            <a
              class="btn btn-xs btn-primary btn-group"
              href="{{ url_for('water_bp.water_factor', area_id=area.id) }}"
              name="area-water-factor"
              target="_blank"
            >调整系数</a>
          </td>
        <tr>
      {% endfor %}
    </tbody>
  </table>
{% endblock %}
